-
Home
-
Tiered Pricing Table for WooCommerce
-
3.5.1
-
Code
-
Classes
- GlobalTieredPricingAddon
Total Complexity |
40 |
Dependencies |
7 |
Dependents |
1 |
Total lines |
181 |
Lines of code |
115 |
Logical lines of code |
67 |
Comment lines |
21 |
Methods |
12 |
Properties |
2 |
Methods 12
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
getPrice() |
A |
48 |
16 |
33 |
addPricing() |
S |
54 |
7 |
22 |
adjustPrice() |
S |
68 |
3 |
7 |
run() |
S |
60 |
1 |
15 |
showMessageOnProductsTieredPricingTab() |
S |
71 |
2 |
6 |
adjustSalePrice() |
S |
74 |
2 |
4 |
adjustRegularPrice() |
S |
74 |
2 |
4 |
getCurrentUser() |
S |
68 |
2 |
7 |
getCurrentUserRoles() |
S |
68 |
2 |
8 |
getName() |
S |
79 |
1 |
3 |
getDescription() |
S |
79 |
1 |
3 |
getSlug() |
S |
82 |
1 |
3 |